/*******************************************************************************
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *  
 * Copyright (c) 2011 Michael Chan.
 ******************************************************************************/
package com.google.code.solrdimension.config.dimension;

import java.util.List;

import com.google.code.solrdimension.config.dimensionvalue.AbstractDimensionValueConfig;

/**
 * 
 * @author mhc
 *
 */
public class DimensionConfig {
    
    public static final String ALPHA_VALUE_ORDER = "alpha";
    
    public static final String FREQUENCY_VALUE_ORDER = "frequency";
    
    public static final String INDEX_VALUE_ORDER = "index";
    
    private String valueOrder;
    
    public static final String TYPE_DEFAULT = "default";
    
    public static final String TYPE_MANUAL = "manual";
    
    private String id;
    
    private String solrFieldName;
    
    private String displayName;
    
    private String type;
    
    private String dependOn;
    
    private List<? extends AbstractDimensionValueConfig> dimensionValueConfigs;
    
    
    public List<? extends AbstractDimensionValueConfig> getDimensionValueConfigs() {
        return dimensionValueConfigs;
    }

    public void setDimensionValueConfigs(List<? extends AbstractDimensionValueConfig> dimensionValueConfigs) {
        this.dimensionValueConfigs = dimensionValueConfigs;
    }

    public String getDependOn() {
        return dependOn;
    }

    public void setDependOn(String dependOn) {
        this.dependOn = dependOn;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSolrFieldName() {
        return solrFieldName;
    }

    public void setSolrFieldName(String solrFieldName) {
        this.solrFieldName = solrFieldName;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    
    
 

    public String getValueOrder() {
        return valueOrder;
    }

    public void setValueOrder(String valueOrder) {
        this.valueOrder = valueOrder;
    }
    
    
    
}
